package com.ruoyi.system.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 采购计划商品对象 sys_purchaseitem
 * 
 * @author ruoyi
 * @date 2020-12-13
 */
public class SysPurchaseitem extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 采购商品表ID */
    private Long purchaseItemId;

    /** 采购单位ID */
    @Excel(name = "采购单位ID")
    private Long purchasingUnitId;

    /** 采购计划ID */
    @Excel(name = "采购计划ID")
    private Long purchasePlanId;

    /** 货物表ID */
    @Excel(name = "货物表ID")
    private Long goodsId;

    /** 品牌ID */
    @Excel(name = "品牌ID")
    private Long brandId;

    /** 扩展字段1 */
    @Excel(name = "扩展字段1")
    private String attribute1;

    /** 扩展字段2 */
    @Excel(name = "扩展字段2")
    private String attribute2;
    /**
     *
     */
    private SysGoods sysGoods;
    private SysBidinfo sysBidinfo;
    /** 扩展字段3 */
    @Excel(name = "扩展字段3")
    private String attribute3;

    private String bidStatus;

    public String getBidStatus() {
        return bidStatus;
    }

    public void setBidStatus(String bidStatus) {
        this.bidStatus = bidStatus;
    }

    public void setPurchaseItemId(Long purchaseItemId)
    {
        this.purchaseItemId = purchaseItemId;
    }

    public Long getPurchaseItemId() 
    {
        return purchaseItemId;
    }
    public void setPurchasingUnitId(Long purchasingUnitId) 
    {
        this.purchasingUnitId = purchasingUnitId;
    }

    public Long getPurchasingUnitId() 
    {
        return purchasingUnitId;
    }
    public void setPurchasePlanId(Long purchasePlanId) 
    {
        this.purchasePlanId = purchasePlanId;
    }

    public Long getPurchasePlanId() 
    {
        return purchasePlanId;
    }
    public void setGoodsId(Long goodsId) 
    {
        this.goodsId = goodsId;
    }

    public Long getGoodsId() 
    {
        return goodsId;
    }
    public void setBrandId(Long brandId) 
    {
        this.brandId = brandId;
    }

    public Long getBrandId() 
    {
        return brandId;
    }
    public void setAttribute1(String attribute1) 
    {
        this.attribute1 = attribute1;
    }

    public String getAttribute1() 
    {
        return attribute1;
    }
    public void setAttribute2(String attribute2) 
    {
        this.attribute2 = attribute2;
    }

    public String getAttribute2() 
    {
        return attribute2;
    }
    public void setAttribute3(String attribute3) 
    {
        this.attribute3 = attribute3;
    }

    public String getAttribute3() 
    {
        return attribute3;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("purchaseItemId", getPurchaseItemId())
            .append("purchasingUnitId", getPurchasingUnitId())
            .append("purchasePlanId", getPurchasePlanId())
            .append("goodsId", getGoodsId())
            .append("brandId", getBrandId())
            .append("createTime", getCreateTime())
            .append("attribute1", getAttribute1())
            .append("attribute2", getAttribute2())
            .append("attribute3", getAttribute3())
            .toString();
    }

    public void setSysGoods(SysGoods sysGoods) {
        this.sysGoods = sysGoods;
    }

    public SysGoods getSysGoods() {
        return sysGoods;
    }

    public SysBidinfo getSysBidinfo() {
        return sysBidinfo;
    }

    public void setSysBidinfo(SysBidinfo sysBidinfo) {
        this.sysBidinfo = sysBidinfo;
    }
}
